﻿namespace Traffic.Entity;

/// <summary>
/// 用户消费、积分总表
/// </summary>
public partial class UserBonu
{
    public int Id { get; set; }

    /// <summary>
    /// 对应USER ID
    /// </summary>
    public int UserId { get; set; }

    /// <summary>
    /// WXOPENID   
    /// </summary>
    public string WxOpenId { get; set; } = null!;

    /// <summary>
    /// 总积分
    /// </summary>
    public int TotalBonus { get; set; }

    /// <summary>
    /// 总消费额
    /// </summary>
    public int TotalCost { get; set; }

    /// <summary>
    /// 上次更新时间
    /// </summary>
    public DateTime LastUpdate { get; set; }
}
